import request from '@/framework/utils/request'

export function getConfigList(data) {
  return request({
    url: '/admin/ConfigController/getConfigList',
    method: 'post',
    data
  })
}

export function delConfig(data) {
  return request({
    url: '/admin/ConfigController/delConfig',
    method: 'post',
    data
  })
}

export function saveConfig(data) {
  return request({
    url: '/admin/ConfigController/saveConfig',
    method: 'post',
    data
  })
}

export function getConfigJSON(data) {
  return request({
    url: '/admin/ConfigController/getConfigJSON',
    method: 'post',
    data
  })
}


export function getPwdJSON(data) {
  return request({
    url: '/admin/AccountController/getPwdJSON',
    method: 'post',
    data
  })
}



